package carltechnology.com.mahjonggame.utils.dao;

import carltechnology.com.mahjonggame.mode.IData;
import rx.Subscriber;
import rx.Subscription;

/**
 * Created by WZTCM on 2016/6/1.
 */
public interface IMahjongDataBaseManager {
    Subscription getMahjongGameInfo(Subscriber<IData> subs);
    Subscription getMahjongGameDetailInfo(Subscriber<IData> subs,final int id);
    void storeMahjongGameInfo(IData data);
    // when you end store mahjonggameinfo,please use this function;
    void endStoreMahjongGameInfo();
    void beginStoreMahjongGameInfo();

}
